<?php
#+------------------------------------------------------------------
#| 普通的。
#+------------------------------------------------------------------
#| Author:Janmas Cromwell <janmas-cromwell@outlook.com>
#+------------------------------------------------------------------
namespace form\element\traits;

trait Color
{
    protected $color = '';

    public function color(string $color = ''){
        $this->color = $color;
        return $this;
    }

    protected function getColor():string
    {
        return $this->color;
    }
}